package org.smog.core.domain.entity;

import java.io.Serializable;

/**
 * 约定实体带Id属性
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-15 16:31
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
public interface IEntity <PrimaryKey> extends Serializable {
    /**
     * 获取主键id
     * @return
     */
    PrimaryKey getId();
}
